<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>求和</title>
</head>
<body>
<!--
 action:表单提交后的请求路劲   method：提交方式  http://localhost:8080/Web207_208/calculate
/calculate: http://localhost:8080/calculate    /表示的是当前服务器应用路劲
calculate： 相对路劲  http://localhost:8080/Web207_208/html/calculate
../calculate: http://localhost:8080/Web207_208/calculate
-->
<form action="../calculate" method="post">
    <input type="text" name="num_1" value="789"> + <input type="text" name="num_2" value="4567"> = ?
    <br>
    <input type="submit" value="求和">
</form>
</body>
</html>